package com.welink.cmp.statemachine.machine;

/**
 * @author yanwei li create  2024-06-03 16:55
 */
public enum VpcEvent {


    /**
     * 分配事件
     */
    ALLOCATED("分配"),

    /**
     * 释放事件
     */
    RELEASE("释放");

    private String description;

    VpcEvent(String description) {
        this.description = description;
    }

    /**
     * 获取事件描述
     *
     * @return 事件描述
     */
    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return this.name() + " - " + this.description;
    }

}
